|
|
|
|
|
|
|
Figure 6.5.
The default method for the BasicPersonalCheckingAccount class. |
|
|
|
|
|
|
|
|
Figure 6.6.
The CheckDeposit project. |
|
|
|
|
|
|
|
|
Your project needs a general code module. Choose Project | Add Module from the menu. You will see the Add Module dialog box (see Figure 6.7). Double-click the Module icon. In the Properties browser to the right, change the name of the module from Module1 to modMain. You need to add a Sub Main method, so choose Tools | Add Procedure from the menu. You will see the Add Procedure dialog box (see Figure 6.8). Enter Main and click OK. In the modMain's General Declarations section, enter the following declarations: |
|
|
|
|
|
|
|
|
Global theBasicPersonalCheckingAccount As _
CheckDeposit.BasicPersonalChecking |
|
|
|
|
|